package com.entity;

import java.io.Serializable;
import java.util.List;

public class Major implements Serializable {
    private Long id;
    private String mName;
    private Long collegeId;

    public Major() {
    }

    public Major(Long id, String mName, Long collegeId, List<ClassGrade> classGradeList) {
        this.id = id;
        this.mName = mName;
        this.collegeId = collegeId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public Long getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Long collegeId) {
        this.collegeId = collegeId;
    }

    @Override
    public String toString() {
        return "Major{" +
                "id=" + id +
                ", mName='" + mName + '\'' +
                ", collegeId=" + collegeId +
                '}';
    }
}
